package com.ebao.po.admin;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @desc 管理员
 * @author snow
 * @date 2012-8-14
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_Admin")
public class TAdmin implements Serializable {

	private String id;			// 主键UUID
	private String realName;	// 真实姓名
	private String password;	// 密码
	private String email;		// 邮箱

	@Id
	@GeneratedValue(generator = "system-uuid")					// hibernate注解
    @GenericGenerator(name = "system-uuid", strategy = "uuid")	// uuid生成策略
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

}
